/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author Tavo
 */
public class BeanLogin
{
    private String email;
    private String pass;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getValidacion()
    {
        if ( email.equals( "tavo_2412@hotmail.com") && pass.equals("2412"))
        {
            return "true";
        }
        else
        {
            return "false";
        }
    }

}
